package com.pxxy.toturial.dao.impl;

import com.pxxy.toturial.dao.HostDao;
import com.pxxy.toturial.entity.Host;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.sql.DataSource;
import java.util.List;

/******************
 * @Author yejf
 * @Description TODO
 */
@Component
public class HostDaoImpl2 implements HostDao {

    @Autowired
    private DataSource dataSource;

    @Override
    public List<Host> findAll() {
        System.out.println("HostDaoImpl2 中的findAll()方法");
        return null;
    }
}
